package com.rkc.feign;

import com.rkc.utils.JsonData;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author `RKC`
 * @date 2021/11/11 16:10
 */
@FeignClient(name = "shopping-user-service", path = "/api/address/v1")
public interface UserAddressFeignService {
    
    @GetMapping("find/{address_id}")
    JsonData detail(@ApiParam(value = "地址id", required = true) @PathVariable("address_id") Long id);
}
